package com.bmf.module.examination.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bmf.core.result.PageResponse;
import com.bmf.module.examination.entity.Examination;
import com.bmf.module.examination.vo.BigQuestionTestPaperResultVo;
import com.bmf.module.examination.vo.ExaminationCreateVo;
import com.bmf.module.examination.vo.ExaminationPageVo;
import com.bmf.module.examination.vo.ExaminationResultVo;

import java.util.List;


/**
 * (Examination)表服务接口
 *
 * @author makejava
 * @since 2022-11-29 17:54:33
 */
public interface ExaminationService extends IService<Examination> {

    Integer insert(ExaminationCreateVo examinationCreateVo);

    PageResponse<ExaminationResultVo> selectAll(ExaminationPageVo examinationPageVo);

    List<BigQuestionTestPaperResultVo> getExamination(Integer examinationId);

    void deleteByIds(List<Integer> ids);

    double countTotalScore(Integer testInfoId);
}
